import os
num=int(input("请输入要创建的文件夹的数量:"))
for i in range(num):
    path = r'C:\Users\HUAWEI\Desktop'
    new_path=os.path.join(path,str(i+1))
    if not os.path.exists(new_path):
        os.mkdir(new_path)
        print(f"第{i+1}个文件夹创建成功")
    else:
        print(f"第{i + 1}个文件夹已存在")

